package tools

import (
	"gitee.com/zatto/project/tree/master/vblog/api/apps"
	_ "gitee.com/zatto/project/tree/master/vblog/api/apps/all"
	"gitee.com/zatto/project/tree/master/vblog/api/conf"
)

func DevelopmentSet() {
	// 加载测试用例配置
	err := conf.LoadConfigFromEnv()
	if err != nil {
		panic(err)
	}

	// 初始化所有应用
	if err := apps.InitApps(); err != nil {
		panic(err)
	}
}
